package com.xindacloud.sms.adapter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author author
 */
@Data
@Builder
@TableName
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class SmsTaskTotal implements Serializable {

    private static final long serialVersionUID = 1575856911355L;


    /**
     * 主键
     * 任务ID
     * isNullAble:0
     */
    @TableId(type = IdType.UUID)
    private String taskId;

    /**
     * 总共收件人数量
     * isNullAble:1
     */
    private Integer recipientCount;

    /**
     * isNullAble:1
     */
    private Integer pendingCount;

    /**
     * 已提交数量
     * isNullAble:1
     */
    private Integer submittedCount;

    /**
     * isNullAble:1
     */
    private Integer failedCount;

    /**
     * isNullAble:1
     */
    private Integer successCount;

    /**
     * isNullAble:1
     */
    private java.time.LocalDateTime createTime;


    @Override
    public String toString() {
        return "SmsTaskTotal{" +
                "taskId='" + taskId + '\'' +
                "recipientCount='" + recipientCount + '\'' +
                "pendingCount='" + pendingCount + '\'' +
                "submittedCount='" + submittedCount + '\'' +
                "failedCount='" + failedCount + '\'' +
                "successCount='" + successCount + '\'' +
                "createTime='" + createTime + '\'' +
                '}';
    }

}
